 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s" %>
<%@ page import = "java.util.Calendar" %>
<%@ page import = "java.util.Date" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Register Price</title>
</head>
<body>
<h3>Register for a price by completing this form.</h3>

<s:form action="RegisterPriceExecute">
 	  <s:textfield name="price" value="%{prijs.price}" label="Prijs in Euro" />		
 	  
<!-- 	  <td class="tdLabel">
   <label for="resultAction_yourSearchEngine" class="label">
       What's your favor search engine:
   </label>
</td> 
<td>
<select name="selectedActive" id="resultAction_yourSearchEngine"> 
    <option value="-1">Select Search Engines</option> 
    <option value="google.com">google.com</option> 
    <option value="bing.com">bing.com</option> 
    <option value="yahoo.com">yahoo.com</option> 
    <option value="baidu.com">baidu.com</option> 
</select> 
</td>
-->
 	 
 	  	  <h4>
			<s:select label="What's the Price status" 
		headerKey="-1" headerValue="Select status"
		list="active" 
		name="active" 
		value="%{prijs.active}" />
		<!-- value="defaultActive" -->
</h4> 

<h4>
			<s:select label="Select Price ID to update" 
		headerKey=" " headerValue=" "
		list="priceId" 
		name="editId" 
		value="%{prijs.priceId}" />
		<!-- value="defaultActive" -->
</h4>

<h4>
			<s:select label="What's the UnitCode" 
		headerKey="-1" headerValue="Select UnitCode"
		list="unitCode" 
		name="unitCode" 
		value="%{prijs.unitCode}" />
</h4> 

<h4>
			<s:select label="What's the product linked to this price" 
		headerKey="-1" headerValue="Select Product"
		list="produkten" 
		name="productId" 
		value="%{prijs.productId}" />
</h4> 

<s:submit  value = "Submit or Update Price" name = "submit or Update price"/>
</s:form>	
</body>
</html>

